<?php
class Adm_Action_Helper_ActionLog 
	extends Zend_Controller_Action_Helper_Abstract
{

	public function direct()
	{
		$this->log();
	}
	
	public function log( $user = null )
	{
		$user OR $user = $this->getActionController()->user;
		
		$logger = new Delivery_Model_Logger();
		$logger->logAction(
			$this->getRequest(),
			$user
		);
	}

}